package com.baichang.taoshunda.dao;


import com.baichang.framework.dao.BaseDao;
import com.baichang.taoshunda.entity.DeliveryBalance;
import com.baichang.taoshunda.entity.DeliveryClerk;

import java.util.List;
import java.util.Map;

/**
 * Created by ${wushenglu} on 17/09/06.
 */
public interface DeliveryblancceDao extends BaseDao<DeliveryBalance> {
    /**
     * @param disId
     * @param time
     * @param endTime
     * @param nowPage
     * @param pageSize @return
     */
    List<Map<String, Object>> blanceList(Integer disId, String time, String endTime, Integer nowPage, int pageSize);

    /**
     * 查看当天的钱数
     *
     * @param disId
     * @param time
     * @param endTime
     * @return
     */
    Map<String, Object> getTodayMoney(Integer disId, String time, String endTime);

    /**
     *
     * @param deliveryClerk
     * @return
     */
    boolean updateMoney(DeliveryClerk deliveryClerk);
}
